#!/bin/bash
# 1. 下载fedora的epel仓库
sudo yum install epel-release -y
# 2. yum install redis
sudo yum install redis -y
# 检查 redis 是否安装
sudo systemctl start redis
systemctl status redis